package org.NooLab.glue.net.http.rest;

import org.NooLab.glue.net.DataSlot;

/**
 * 
 * the contract for the callback structure, which is used to transfer the data
 * into the RestletBox 
 * 
 */
public interface GlueRestletHandlerIntf {

	
	public void getRestletMessageStr( String msg ) ;

	/**
	 * 
	 * this returns an object of type DataSlot, which contains a variable byte-array;
	 * such, the consumer can do anything on the transferred data, even reconstruct 
	 * an object;
	 * hence, the return type of this variant of the method is the generic Object 
	 * @param dataslot
	 * @return
	 */
	public void getRestletMessageObj( DataSlot dataslot ) ;
		
	
	
}
